﻿@{
    ViewBag.Title = "Index";
}

<h2>HTTPS scenarios</h2>

<div>
    <a class="ui-link" href="/testappsite/Https/Test">HTTPS with relative url</a>
</div>
<br />
<hr />
<br />
<div>
    <a class="ui-link" href="https://www.microsoft.com">HTTPS with absolute url</a>
</div>
<br />
<hr />
<br />
<div>
    <a id="jsLink" href="#">Navigate trhough javascript</a>
</div>

@section scripts{
    <script type="text/javascript">
        $("#jsLink").click(function () {
            window.location = "https://www.microsoft.com";
        });
    </script>
    
    
}